package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderDeliveryRelease;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 交货单发布管理
 * @author : 
 * @email : 
 * @since : 2020-05-29 11:42:19
 * @version : v1.0.0
 */
@Mapper
public interface  OrderDeliveryReleaseMapper {

    long insert(OrderDeliveryRelease orderDeliveryRelease);

    long delete(Long id);

    long deleteByOrderNo(String orderNo);

    long update(OrderDeliveryRelease orderDeliveryRelease);

    OrderDeliveryRelease queryByPrimaryKey(Long id);

    List<OrderDeliveryRelease> query(OrderDeliveryRelease orderDeliveryRelease);

    List<OrderDeliveryRelease> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderDeliveryRelease") OrderDeliveryRelease orderDeliveryRelease);

    long queryPageCount(OrderDeliveryRelease orderDeliveryRelease);
}